/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author William Alves
 */
public class TelaCancelaReserva extends javax.swing.JInternalFrame {

    /**
     * Creates new form JInternalFrameCancelReserva
     */
    public TelaCancelaReserva() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jButton1 = new javax.swing.JButton();
        jbCancel = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        jTextField2 = new javax.swing.JTextField();
        jButton3 = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Cancelamento de Reserva");
        setToolTipText("");
        getContentPane().setLayout(null);

        jLabel1.setText("Digite o Nº  Reserva :");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(34, 11, 120, 30);
        getContentPane().add(jTextField1);
        jTextField1.setBounds(150, 10, 120, 30);

        jButton1.setText("Confirmar");
        getContentPane().add(jButton1);
        jButton1.setBounds(430, 170, 100, 40);

        jbCancel.setText("Cancelar");
        jbCancel.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbCancelActionPerformed(evt);
            }
        });
        getContentPane().add(jbCancel);
        jbCancel.setBounds(570, 170, 100, 40);

        jLabel2.setText("Nome :");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(40, 74, 70, 30);
        getContentPane().add(jTextField2);
        jTextField2.setBounds(150, 70, 420, 30);

        jButton3.setText("Buscar");
        getContentPane().add(jButton3);
        jButton3.setBounds(390, 10, 110, 40);

        setBounds(0, 0, 703, 281);
    }// </editor-fold>//GEN-END:initComponents

    private void jbCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbCancelActionPerformed
        
        this.dispose();
    }//GEN-LAST:event_jbCancelActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JButton jbCancel;
    // End of variables declaration//GEN-END:variables
}
